import { createStore,applyMiddleware } from 'redux'
import reducers from '../reducers'
import thunk from 'redux-thunk'//异步模块
//redux-promise/redux-saga

const store = createStore(reducers,applyMiddleware(thunk));  // 创建一个仓库

export default store;